package com.tongji.showroom.model
{ 	
	import mx.controls.Alert;
	
	import org.robotlegs.mvcs.Actor;
	
	/**
	 * 
	 * @author jiarong
	 * 
	 */
	[Bindable]
	public class UserProductModel extends Actor
	{
		public var userID:Number;
		public var imgURL:String;
		
		public function UserProductModel()
		{
			super();
		}
		
		public function updateUserProduct(userID:Number, imgURL:String):void
		{
			this.userID = userID;
			this.imgURL = imgURL;
		}
		
		public function getReleaseState(bool:Boolean):void
		{
			Alert.show(bool ? "发布成功" : "发布失败");
		}
	}
}